import request from "@/utils/request";

const CheckItem_BASE_URL = "/api/v1/dict";

class DictItemAPI {
    /**
     * 
     * @param dictId 字典ID
     * @returns 
     */
        static  getDictItemList(dictId : number) {
            return request<any, DictItemVO[]>({
            url: `${CheckItem_BASE_URL}/${dictId}/list`,
            method: "get",
        })
    }
}

export default DictItemAPI;

export interface DictItemVO {
    id: number;
    dictId: number;
    name: string;
    value: string;
    sort: number;
    status: number;
    remark: string;
    createTime: string;
    updateTime: string;
}